﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BrnMall.Sdk.WeiXin.Domain.work
{
    /// <summary>
    /// 会员列表
    /// </summary>
    public class UserListListModel
    {
        public int errcode { get; set; }

        public string errmsg { get; set; }

        public List<User> userlist { get; set; }

    }

    /// <summary>
    /// 会员信息
    /// </summary>
    public class User
    {
        /// <summary>
        /// 成员UserID。对应管理端的帐号
        /// </summary>
        public string userid { get; set; }
        /// <summary>
        /// 成员名称
        /// </summary>
        public string name { get; set; }
        /// <summary>
        /// 成员所属部门
        /// </summary>
        public List<int> department { get; set; }
    }

    /// <summary>
    /// 会员详情
    /// </summary>
    public class UserDetail
    {
        public int errcode { get; set; }

        public string errmsg { get; set; }

        public string userid { get; set; }

        public string name { get; set; }
        /// <summary>
        /// 成员所属部门id列表
        /// </summary>
        public List<int> department { get; set; }
        /// <summary>
        /// 职位信息
        /// </summary>
        public string position { get; set; }
        /// <summary>
        /// 手机号码
        /// </summary>
        public string mobile { get; set; }
        /// <summary>
        /// 性别。0表示未定义，1表示男性，2表示女性
        /// </summary>
        public string gender { get; set; }

        public string email { get; set; }
        public string avatar { get; set; }
        /// <summary>
        /// 座机
        /// </summary>
        public string telephone { get; set; }

        public string qr_code { get; set; }
    }
}